package lv.lu.events.interfaces;

import java.util.List;

import lv.lu.events.model.User;

/**
 * Service for dealing with friendships.
 */
public interface FriendshipService {

	/**
	 * Creates a friendship between two users with status FriendshipStatus.ACCEPTED.
	 */
    public void addFriend(User user1, User user2);
    
    /**
     * Retrieves a list of users who are in ACCEPTED friendship with requested user.
     */
	public List<User> getFriends(Long userId);
}
